Scale div in an upwards direction, instead of down?
Use absolute positioning and instead of setting the offset with top
use bottom
. With this property you can ensure the position of the bottom edge of your div - any change in size will force the div to expand upwards.