added a previous button and fiddled with some css