Change card image height based on window height