added the appearing of the divs in different places