resize portfolio thumbnail to fit space