Solution For 39:
Steps-Buttons;
1-Bottom Right,2-Bottom Right,3-Top Left,4-Top Left,5-Bottom Left,6-Bottom Right,7-Bottom Right,8-Bottom Right,9-Bottom Left,10-Bottom Right,11-Top Right,12-Bottom Right,13-Bottom Right,14-Bottom Right,15-Top Right,16-Bottom Right,17-Bottom Right,18-Bottom Right,19-Top Right,20-Top Right,21-Top Right
I took 21 steps to solve but i guess it can be done much less than what i did...