fixes bug on edit event date and repositioning the images on the front page