Made starting point of door variable