Added absolute positioning and css transitions