Added sliding functionality for small imgs