added friction for both horizontal and vertical sides