adding fade out and fixing small css issue