Added CSS classes for styling purposes, fixed image resize bugs