use jquery transit for gallery-maximization  animation