fixing gallery border