changed css for index and transitioning to show