Removing useless codes and div. Added code to center image vertically.