changePanel now takes in an arraylist of panels to draw; tweaked coordinates