Fix for bootstrap thumbnails of same size using a custom directive