proper bootstrap and proper rotation with images