Refactoring CSS for resizable / title-overlayed images