fixed cross-browser issues

fixed scaling image proportions for firefox
fixed anchor tag flex box issue for safari