positioned the messages div and added a clear button